<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="navbar.jsp" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'main.jsp' starting page</title>
	<link rel="stylesheet" type="text/css" href="styles/css/bootstrap.min.css" />
  </head>
  
  <body class="body">
    <div class="container" style="width:960px;margin-top:60px;margin-left:auto;margin-right:auto;">

	  <div class="row">

		<div class="span9">

          

          	<div class="page-header">

          		<h2>项目列表</h2>

          	</div>



          	<a href="pms.jspx?m=new_project" class="btn btn-success"><i class="icon-plus icon-white"></i>开始一个新项目</a>
			<c:if test="${fn:length(projectlist)==0 }">
				您还没有参加任何项目！
			</c:if>
		
	
			<c:forEach items="${projectlist }" var="project">
				 <ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0;margin-top:15px">

				<li class="active">

					<a href="pms.jspx?m=project&id=${project.projectId }"><i class="icon-th"></i>${project.projectName }</a>

				</li>

			</ul>

			<div class="wall" style="border:1px solid #ddd;padding:10px">
				<p>${project.desc }</p>

			</div>
				
			
			</c:forEach>
		</div>



		


		

		<div class="span2" style="margin-top:60px">
			<form action="user.jspx?m=adduser" method="post" enctype="multipart/form-data"  class="well" style="width:220px;margin:0px auto;">







	



	



		



		

		  <legend>系统用户注册</legend>

		  <label>真实姓名</label>

		  <input type="text" class="span3" name="username" style="height:30px">
		   <label>用户名</label>

		  <input type="text" class="span3" name="nickname" style="height:30px">
		  

		  <label>密码</label>

		  <input type="password" class="span3" name="password" style="height:30px">
		  上传头像：<input type="file" name="picture">

		  <br/>

		  <button type="submit" class="btn btn-primary">保存</button>
		  <c:choose>
		  	<c:when test="${param.code==10005 }">
		  		<span>注册成功</span>
		  	
		  	</c:when>
		  
		  </c:choose>

		</form>
		

		

			

			



		</div>

	  </div>

	</div>

  </body>
</html>
